package com.beici.waterghost.service.impl;

import com.beici.waterghost.mapper.linksMapper;
import com.beici.waterghost.model.links;
import com.beici.waterghost.model.resultes;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 友情链接
 * @auther WaterGhost
 * @date 2022/3/6 15:05
 */
@Service
public class linksServiceImpl {
    @Autowired
    private linksMapper linksmapper;

    public resultes queryLinks(){
        List<links> links = linksmapper.selectList(null);
        return resultes.success(null,links);
    }
}
